package com.knife.hospital.model.OrderDoctor;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class DocOrderResponse {

    //订单id
    private int id;

    //用户id
    private String patient_name;

    //就诊时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date date;

    //预约时间段
    private int timeQuantum;

    //预约状态
    private int statement;
}
